package com.gagakuai.engine.impl.pvm;

import java.util.List;

/*
 * @program: common-starters
 * @description: Pvm运转中表示流程实列
 * @author: houhong
 * @create: 2023-01-02 11:12
 */
public interface PvmProcessInstance extends PvmExecution {

    /*
     * 启动实列
     */
    void start();

    /*
     * 根据活动找到执行
     */
    PvmExecution findExecution(String activityId);

    List<String> findActivityIds();

    boolean isEnded();

    void deleteCascade(String deleteReason);

    void setBusinessKey(String businessKey);

}